package com.meida.module.bus.client.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;

/**
 * 辅导预约收费类型
 *
 * @author gp
 * @date 2021/8/9
 */
@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ApiModel("收费类型")
public enum TutorChargeTypeEnum{
    /**
     * 收费类型(1.按次收费，2按时长收费)
     */
    Number(1, "按次收费"),
    Time(2, "按时长收费");

    @EnumValue
    private Integer value;
    @ApiModelProperty("描述")
    private String label;

    TutorChargeTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }



    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
